﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JSC.Portal.Entities;

namespace JSC.Portal.Module.Models
{
    public class ModuleViewData : Dictionary<string, object>
    {
        public ModuleViewData(Section parent, bool designMode, ModuleBase module)
        {
            Section = parent;
            DesignMode = designMode;
            Module = module;
        }

        public ModuleBase Module { get; private set; }
        public bool DesignMode { get; private set; }
        public Section Section { get; private set; }
        public int Id { get; set; }
    }
}
